﻿//Wavelet Point Class
namespace Compression.ImageCompressor
{
    using System;

    [Serializable]
    public class WaveletPoint
    {
        /// <summary>
        /// default constructor
        /// </summary>
        public WaveletPoint(){}

        public WaveletPoint(UInt32 cnt,Int16 val)
        {
            this.cnt = cnt;
            this.val = val;
        }

        /// <summary>
        /// Fields
        /// </summary>
        UInt32 cnt;
        Int16 val;

        /// <summary>
        /// X coordinate
        /// </summary>
        public UInt32 Cnt
        {
            get
            {
                return cnt;
            }
            set
            {
                cnt = value;
            }
        }

        /// <summary>
        /// Value of pixel
        /// </summary>
        public Int16 Value
        {
            get
            {
                return val;
            }
            set
            {
                val = value;
            }
        }
    }
}